package com.car.mapper;

import com.car.entity.CarInfo;
import com.car.entity.CarInfoExample;
import java.util.List;

import com.car.vo.CarInfoVo;
import org.apache.ibatis.annotations.Param;

public interface CarInfoMapper {
    long countByExample(CarInfoExample example);

    int deleteByExample(CarInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(CarInfo record);

    int insertSelective(CarInfo record);

    List<CarInfo> selectByExample(CarInfoExample example);

    CarInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CarInfo record, @Param("example") CarInfoExample example);

    int updateByExample(@Param("record") CarInfo record, @Param("example") CarInfoExample example);

    int updateByPrimaryKeySelective(CarInfo record);

    int updateByPrimaryKey(CarInfo record);

    //查询报警的车辆
    List<CarInfo> queryCarInfoByStatu();


    //查询车的数据
    List<CarInfoVo> findCarList(@Param("name")String name, @Param("vin")String vin);
}